package com.dk.common;

import com.dk.util.SpringContextUtil;
import org.springframework.util.StringUtils;

import java.util.Properties;

/**
 * 共通常量
 *
 * @author: A11181121050450
 * @date: 2020-04-20 14:40
 */
public class Constants {
    public static final String DOWNLOAD_URI= SpringContextUtil.getProperty("server.servlet.context-path")+"/downloadFile";
    public static final String UPLOAD_PAGE_URI= SpringContextUtil.getProperty("server.servlet.context-path")+"/page/uploadFilePage.html";
    public static final String PORT=SpringContextUtil.getProperty("server.port");
    // 用来存放配置文件内容
    public static final Properties PROPERTIES=new Properties();
    // 配置文件中key值
    public static final String IP_ADDR = "ipAddr";
    public static final String PROTOCOL = "http";
    // 画面列表Key值
    public static final String IP_LIST_COMBO_BOX = "jComboBox";
    // 画面tabPane的Key值
    public static final String TAB_PANE = "jTabbedPane";
    public static final String UPLOAD_DIC_PATH = "uploadDicPath";
}
